package com.ly.honor.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ly.honor.entity.Match;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.honor.entity.dto.MatchCreateDTO;
import com.ly.honor.entity.dto.MatchEditDTO;
import com.ly.honor.entity.dto.MatchQueryDTO;
import com.ly.honor.entity.vo.MatchQueryVO;

import java.util.List;

/**
* @author 17798
* @description 针对表【bs_match】的数据库操作Service
* @createDate 2022-11-16 11:49:49
*/
public interface MatchService extends IService<Match> {

    Page<MatchQueryVO> selectMatchPage(long pageNum, long pageSize, MatchQueryDTO matchQueryDTO);

    MatchQueryVO getMatchById(long id);

    void insertMatch(MatchCreateDTO matchCreateDTO);

    void updateMatch(MatchEditDTO matchEditDTO);

    List<MatchQueryVO> getMatchByTime(String time);
}
